package cn.ybk.product.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
public class PurchaseDto {

    private Long id;

    @NotBlank(message = "名字不能为空")
    private String name;

    private BigDecimal saleprice;

}
